<script setup lang="ts">
import { onMounted } from "vue";
import {initThree, render } from "../assets/js/threeObj";
onMounted(() =>{
  initThree("td");
  render();
})
var sites = {
    site1: "Runoob",
    site2: "Google",
    sayHello: function () { } // 类型模板
};
sites.sayHello = function () {
    console.log("hello " + sites.site1);
};
sites.sayHello();
</script>

<template>
  <div id="td">
  </div>
</template>
<style >
#td{
  width: 100%;
  height: 100%;
}
</style>
